home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / finderlaunch / readme < prev    next >
Encoding:
Text File  |  2000-06-23  |  2.2 KB  |  50 lines

  1. FinderLaunch
  2.  
  3. A routine for sending an open documents Apple event to the Finder.  This routine provides functionality equivalent to selecting a document/file/application and choosing the open command in the Finder's file menu.  
  4.  
  5. Of interest in this example:
  6. An illustration of how to ask the Finder to open and display a directory's window.  Also, this sample shows how to route open and launch commands through the Finder (saves your application the trouble of trying to find the correct application to open a document).
  7.  
  8.  
  9. Other techniques illustrated:
  10. The file TestFinderLaunch.c includes a brief exploration of how to use Navigation Services (falling back to StandardFile) in a way that allows you to select any visible file or folder.  
  11.  
  12. By John Montbriand.
  13.  
  14. Copyright © 1999 by Apple Computer, Inc.
  15. All rights reserved worldwide.
  16.     
  17. Disclaimer:
  18. You may incorporate this sample code into your applications without restriction, though the sample code has been provided "AS IS" and the responsibility for its operation is 100% yours.  However, what you are not permitted to do is to redistribute the source as "DSC Sample Code" after having made changes. If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple Sample Code, but that you've made changes.
  19.  
  20. Files:
  21.  
  22. ':FinderLaunch.prj Data:' - codewarrior pro project data.
  23.  
  24. :MPWTool: - a directory containing source or an mpw tool providing access to the FinderLaunch routine.
  25.  
  26. :obj: - object files created during the build process.
  27.  
  28. FinderLaunch.c - C code defining a routine for sending open documents events to the finder.
  29.  
  30. FinderLaunch.h - definitions for routines exported from FinderLaunch.c
  31.  
  32. FinderLaunch.prj - codewarrior pro project file that builds TestFinderLaunch.
  33.  
  34. TestFinderLaunch - sample application accessing the routine defined in FinderLaunch.c
  35.  
  36. TestFinderLaunch.c - C program allowing users to select files and folders and then passing them to the Finder.
  37.  
  38. TestFinderLaunch.h - constants and prototypes used in TestFinderLaunch.c.
  39.  
  40. TestFinderLaunch.r - MPW Rez definitions used for mpw builds.
  41.  
  42. TestFinderLaunch.rsrc - resources used in TestFinderLaunch.h
  43.  
  44. MakeFile - MPW make file that builds TestFinderLaunch.
  45.  
  46. ReadMe - see ReadMe.
  47.  
  48.  
  49.  
  50.